package com.fjn.anocation.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration //作为配置类代替xml配置文件
@ComponentScan(basePackages = {"com.fjn"})
public class SpringConfig {
}
